package net.hotelOrderSystem.service;

import net.hotelOrderSystem.domain.Hotel;

import java.util.List;

public interface HotelService {

    List<Hotel> findHotel();
    void saveHotel(Hotel hotel);
    void deleteHotelByID(String hotelId);
    void updateHotelByID(String hotelId,Hotel hotel);
    public Hotel findHotelByID(String hotelId);
    public List<Hotel> findHotelByKeyword(String keyword);
    public List<Hotel> findHotelByFilter(String longitude, String latitude, Integer priceLow, Integer priceTop, double star, double rate, String brand);

    Hotel findHotelByLocation(String longitude, String latitude);
}
